package com.oj.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oj.common.mybatis.domain.BaseEntity;
import lombok.Data;

/**
 * @Description
 * @Author bin
 * @Date 2025/4/2
 */
@Data
@TableName("tb_sys_user")
public class SysUser extends BaseEntity {
    //使用雪花算法 解决分布式ID冲突的问题  64bit
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    private String userAccount;

    private String password;

    private String nickName;
}
